//
//  CountDownUtils.h
//  GomeMarketingClient
//
//  Created by Kelly xu on 2017/3/16.
//  Copyright © 2017年 GomeFinance. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CountDownUtils : NSObject
/*!
 *  @brief post 倒计时
 *
 *  @param sender    验证码button
 *  @param handle    操作回调
 */
+(void)checkCodeWithBtn:(id)sender buttonColor:(UIColor*)buttonColor buttonHighlightedColor:(UIColor*)highColor timer:(dispatch_source_t)timer handle:(void(^)())handle;
+(void)checkCodeWithBtn:(UILabel*)timeLab leftSecs:(NSInteger)seconds timer:(dispatch_source_t)timer handle:(void(^)())handle;
+(void)timeCounterWithLab:(UILabel*)timeLab leftSecs:(NSInteger)seconds timer:(dispatch_source_t)timer perSecHandle:(void(^)())perhandle handle:(void(^)())handle;
@end
